﻿<%@ Page Language="C#" AutoEventWireup="true" 
CodeBehind="AlmacenInsertForm.aspx.cs" 
Inherits="UILGestion.Admin.Almacenes.AlmacenInsertForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register assembly="EstandarControl" namespace="EstandarControl" tagprefix="cc1" %>


<%@ Import Namespace="System.Web.Script.Services" %>
<%@ Import Namespace="System.Web.Services" %>
<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
   <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <script src="../../Scripts/Almacen.js" type="text/javascript"></script>
    <title>ALMACEN</title>
    
    </head>
    
    <body>
        <form id="form1" runat="server" autocomplete="off">

            <uc2:menuCtrl ID="menuCtrl1" runat="server" />

                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true"  
                    EnablePartialRendering="true"></asp:ToolkitScriptManager>

                    <asp:Panel ID="Panel2" runat="server"
  CssClass="Heading secTitle AreaHeading ms-crm-List-Header">
  <asp:Label ID="Label2" runat="server" Text="EDITAR ALMACEN" 
             style="font-size: large; color: #960818"></asp:Label>
 </asp:Panel>

          <asp:Panel ID="PanelButtom" runat="server"     class="ms-crm-Form-Body" > 

                <input id="internalid" type="hidden" runat="server" />
                <input id="type" type="hidden" runat="server" />
       
                 
               
                   <table >
<tr>

<td>
    <asp:Button ID="saveButton" runat="server" Text="Guardar"   CssClass="ms-crm-List-Header" 
       OnClick="btnContinue_OnClick"     /></td>
       <td>
     <asp:Button ID="refreshButton" runat="server" Text="Restablecer"  CssClass="ms-crm-List-Header"  
        onclick="btnContinue_OnClick"  /></td>

<td>
    <asp:Button ID="cancelarButton" runat="server" Text="Cancelar"  CssClass="ms-crm-List-Header"  
       OnClick="btnContinue_OnClick" Width="80px" /></td>
        <td></td>
        <td>
        </td><td>
            

            &nbsp;</td><td>
            

            &nbsp;</td></tr></table>
  
      </asp:Panel>
  
    

<asp:Panel ID="PanelBody" runat="server"  BackColor="white" >


         <asp:UpdatePanel ID="DocumentoUpdatePanel" runat="server" UpdateMode="Conditional">
         <ContentTemplate>
         

                 <table>

                
                 <tr   >
                 <td width="100px" valign="top" align="right" >
                     ID:</td>
                 <td width="200px"  valign="top" >
                     <asp:Label ID="idLabel" runat="server"></asp:Label>
                 </td>
                 </tr>
                   <tr   >
                 <td align="right" >
                     Empresa:</td>
                 <td >
                     <asp:DropDownList ID="empresaDDL" runat="server" AutoPostBack="true"
                         Width="350px" onselectedindexchanged="empresaDDL_SelectedIndexChanged">
                     </asp:DropDownList>
                       </td>
                 </tr>


                     <tr>
                         <td align="right">
                             Proyecto:</td>
                         <td>
                         <asp:UpdatePanel  runat="server" ID="proyectoUPNL" >
                         <ContentTemplate>
                             <asp:DropDownList ID="proyectoDDL" runat="server" AutoPostBack="true" 
                                 Width="350px" onselectedindexchanged="proyectoDDL_SelectedIndexChanged">
                             </asp:DropDownList>
                         </ContentTemplate>
                         <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="empresaDDL" />
                         </Triggers>
                             </asp:UpdatePanel>
                         </td>
                     </tr>
                     <tr>
                         <td align="right">
                             Obra:</td>
                         <td>
                             <asp:UpdatePanel runat="server" ID="obraUPNL">
                                 <ContentTemplate>
                                 <asp:DropDownList ID="obraDropDownList" runat="server"  
                                 Width="350px">
                             </asp:DropDownList>
                                 </ContentTemplate>
                                 <Triggers>
                                 <asp:AsyncPostBackTrigger ControlID="empresaDDL" />
                                 <asp:AsyncPostBackTrigger ControlID="proyectoDDL" />

                                 </Triggers>
                             </asp:UpdatePanel>
                             
                         </td>
                     </tr>


                     <tr>
                         <td align="right">
                             Descripcion:</td>
                         <td>
                            
                             <asp:TextBox ID="descripcionTextBox" runat="server"   BackColor="White"  Width="350px"></asp:TextBox>
                         </td>
                     </tr>


                   <tr   >
                 <td align="right" >
                     Responsable:</td>
                 <td >
                     <lib:Input ID="responsableTextBox" runat="server" backcolor="#DFE8F6"  font-names="Arial" 
                            DataType="List" method="GetEmpleado" 
                            onchange="javascript:validarAlmacenInsert(this);" 
                            OnSelect="SelectResponsableInsert"  Width="300px" />
                     <lib:Input ID="idResponsableTextBox" runat="server" BackColor="Transparent"   font-names="Arial" 
                            ReadOnly="true"  Width="0px" />
                     <lib:Input ID="responsable1TextBox" runat="server" BackColor="Transparent"   font-names="Arial" 
                            ReadOnly="true"  Width="0px" />
                         
                               
                 </td>
                 </tr>


                     <tr>
                         <td align="right">
                             Direccion:</td>
                         <td>
                             <asp:TextBox ID="direccionTextBox"   runat="server" BackColor="White"  Width="350px"></asp:TextBox>
                         </td>
                     </tr>


                  </table>
 
            

                 
                  </ContentTemplate>
         </asp:UpdatePanel>  
                 </asp:Panel>




                 

    </form>
</body>
</html>
